package com.atguigu.crowd.mapper;

import com.atguigu.crowd.entity.po.HardwareProtocol;
import com.atguigu.crowd.entity.po.HardwareProtocolExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface HardwareProtocolMapper {
    long countByExample(HardwareProtocolExample example);

    int deleteByExample(HardwareProtocolExample example);

    int deleteByPrimaryKey(Integer channelId);

    int insert(HardwareProtocol record);

    int insertSelective(HardwareProtocol record);

    List<HardwareProtocol> selectByExample(HardwareProtocolExample example);

    HardwareProtocol selectByPrimaryKey(Integer channelId);

    int updateByExampleSelective(@Param("record") HardwareProtocol record, @Param("example") HardwareProtocolExample example);

    int updateByExample(@Param("record") HardwareProtocol record, @Param("example") HardwareProtocolExample example);

    int updateByPrimaryKeySelective(HardwareProtocol record);

    int updateByPrimaryKey(HardwareProtocol record);

    List<HardwareProtocol> selectAllHardwareProtocol();
}